/**
 * prvydevw main stylesheet
 *
 * @author Jiří Pudil
 */



/**********************************************************************************
| CSS reset, based on work of Eric Meyer <http://www.meyerweb.com/eric>
\**********************************************************************************/
html {
	margin: 0;
	padding: 0;
	border: 0;
	height: 100%;
	overflow-y: scroll;
	/* remove iOS text size adjust without disabling user zoom, based on tip by Roger Johansson <http://www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom> */
	-webkit-text-size-adjust: 100%;
}

body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, ins, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-family: inherit;
	vertical-align: baseline;
}

body {
	min-height: 100%;
}



/**********************************************************************************
| typography reset; sets up 16px/24px baseline grid
\**********************************************************************************/
html {
	font-size: 100.01%;
}

body {
	font-size: 100%; /* default font size = 16px */
	color: #222;
	background: #fff;
	font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
}

html>body {
	font-size: 16px;
}

h1 {
	font-size: 2.5em; /* 40px */
	line-height: 1.2;
	margin-bottom: .6em;
}

h2 {
	font-size: 2em; /* 32px */
	line-height: 1.333em;
	margin-bottom: .75em;
}

h3 {
	font-size: 1.75em; /* 28px */
	line-height: 1.714em;
	margin-bottom: .857em;
}

p {
	font-size: 1em; /* 16px */
	line-height: 1.5;
	margin: 0 0 1.5em;
}

.b, strong {
	font-weight: bold;
}

.i, em {
	font-style: italic;
}




/**********************************************************************************
| app stylesheet
\**********************************************************************************/
body {
	background-color: #97A7EC;
}

.container {
	height: 100%;
	padding: 1em 0;
}

.body {
	max-width: 960px;
	background-color: #FFF;
	margin: 0 auto;
	padding: 1.5em;
	border-radius: 1em;
}

.body :last-child {
	margin-bottom: 0;
}

.hidden {
	display: none;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

a {
	color: #FF3B00;
	text-decoration: underline;
}

a:focus, a:hover {
	color: #F00;
}

a.full {
	display: block;
	width: 100%;
	height: 100%;
}

.icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url('../img/icons.png');
}

.icon-add {
	background-position: 0 0;
}

.icon-add:hover {
	background-position: 0 16px;
}

.icon-edit {
	background-position: 48px 0;
}

.icon-edit:hover {
	background-position: 48px 16px;
}

.icon-del {
	background-position: 32px 0;
}

.icon-del:hover {
	background-position: 32px 16px;
}

.icon-cancel {
	background-position: 16px 0;
}

.icon-cancel:hover {
	background-position: 16px 16px;
}

input.icon {
	border: 0;
	outline: 0;
}

.s, .strike {
	text-decoration: line-through;
}

.help {
	cursor: help;
	border-bottom: 1px dotted #777;
}

.message {
	padding: 0.5em 1em;
	margin-bottom: 3em;
	border-radius: .75em;
}

.success {
	background: #bf6;
	color: #060;
}

.success a, .success a:hover { color: #360; }

.error {
	background: #c00;
	color: #eee;
}

.error a, .error a:hover { color: #fff; }

.warning {
	background: #fc6;
	color: #660;
}

.warning a, .warning a:hover { color: #663; }

.notice, .info {
	background: #9cf;
	color: #03f;
}

.notice a, .notice a:hover, .info a, .info a:hover { color: #36f; }

.w7 {
	width: 7%;
}

.w10 {
	width: 10%;
}

.w13 {
	width: 13%;
}

.w15 {
	width: 15%;
}

.w20 {
	width: 20%;
}

.w30 {
	width: 30%;
}

.w43 {
	width: 43%;
}

.nav {
	margin-bottom: 1.5em;
}

.nav ul li {
	list-style-type: none;
	display: inline-block;
	font-weight: bold;
}

.nav ul li a {
	font-weight: normal;
}

.nav li:not(:last-child):after {
	content: " | ";
	font-weight: normal;
}

table {
	width: 100%;
	margin-bottom: 1.5em;
	border-collapse: collapse;
}

th, td, caption {
	font-size: 1em; /* 16px */
	line-height: 1.5em;
	padding: .75em;
}

caption {
	background: #f5f5f5;
}

th {
	font-weight: bold;
}

table thead th {
	text-align: left;
	background: #ddd;
	border-width: 2px 0 1px;
	border-style: solid;
	border-color: #000;
}

tbody td {
	border-bottom: 1px solid #ccc;
	background: #fff;
	background: linear-gradient(to bottom,  #fff 0%, #eee 100%);
	vertical-align: top;
}

tbody tr:hover td {
	background: #eee;
	background: linear-gradient(to bottom,  #fff 0%, #ddd 100%);
}

th.num, td.num {
	text-align: right;
	text-align: "." right;
}

tfoot {
	font-style: italic;
}


td.num {
	font-weight: bold;
}

.minus {
	color: #F00;
}


.box {
	background: #eee;
	padding: .5em;
	margin-bottom: 1.5em;
	border-radius: .5em;
}

#filter div {
	display: inline;
	margin-right: 1.5em;
}

.has-error {
	outline: 2px solid #f00;
}

input[type=submit], input[type=button], .btn {
	display: inline-block;
	text-align: center;
	cursor: pointer;
	font-size: 1em; /* 16px */
	padding: .25em .5em;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	color: #000;
	background: #ddd;
	background: linear-gradient(to bottom,  #eee 0%, #ddd 100%);
	border: 1px solid #999;
	border-radius: 10px;
}

input[type=submit]:hover, input[type=button]:hover, .btn:hover {
	color: #000;
	background: #ccc;
	background: linear-gradient(to bottom,  #eee 0%, #ccc 100%);
	border-color: #666;
}

input[type=submit]:active, input[type=button]:active, .btn:active {
	position: relative;
	top: 1px;
	background: #eee;
	background: linear-gradient(to bottom,  #ddd 0%, #eee 100%);
	border-color: #ccc;
}

a.btn {
	text-decoration: none;
}

.btn-group .btn {
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	border-left-width: 0;
}

.btn-group .btn:first-child {
	-moz-border-radius: 5px 0 0 5px;
	-webkit-border-radius: 5px 0 0 5px;
	border-radius: 5px 0 0 5px;
	border-left-width: 1px;
}

.btn-group .btn:last-child {
	-moz-border-radius: 0 5px 5px 0;
	-webkit-border-radius: 0 5px 5px 0;
	border-radius: 0 5px 5px 0;
}




@media print {

	a {
		color: #222;
		text-decoration: none;
	}

	.item {
		display: table-row;
	}

	#frm-add, .frm-edit, .nav, .add, .box, .icons, .message {
		display: none;
	}

}
